<template>
	<my-page-component :style="componentModel.cssStyle" ref="pageComponent"></my-page-component>
</template>

<script>
	import utils from '@/utils/utils.js';
	export default {
		name: "DashboardPageComponent",
		props: ["componentModel"],
		inject:['children'],
		mounted() {
			this.children.push(this);
			if(this.componentModel.refPageCode!=undefined){
				this.$refs.pageComponent.navigatePage(this.componentModel.refPageCode, {},true);
			}
		},beforeUnmount() {
			utils.removeArrayElement(this.children,this);
		},
		methods: {
			setProp() {
				
			}
		},
	}
</script>

<style>
</style>